package com.ruoyi.project.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 批改管理对象 correct
 *
 * @author hongwj
 * @date 2024-11-18
 */
@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Correct extends BaseEntity{

private static final long serialVersionUID=1L;

    /** ID */
    private Long id;

    /** 用户ID */
            @JsonProperty("user_id")
            @Excel(name = "用户ID" )
    private Long userId;

    /** 试卷ID */
            @JsonProperty("paper_id")
            @Excel(name = "试卷ID" )
    private Long paperId;

    /** 题目ID */
            @JsonProperty("question_id")
            @Excel(name = "题目ID" )
    private Long questionId;

    /** 答题时间 */
            @JsonFormat(pattern = "yyyy-MM-dd" )
            @Excel(name = "答题时间" , width = 30, dateFormat = "yyyy-MM-dd" )
    private Date dttime;

    /** 批改时间 */
            @JsonFormat(pattern = "yyyy-MM-dd" )
            @Excel(name = "批改时间" , width = 30, dateFormat = "yyyy-MM-dd" )
    private Date pgtime;

    /** 用户答案 */
            @JsonProperty("user_answers")
            @Excel(name = "用户答案" )
    private String userAnswers;

    /** 状态(0已批改 1未批改) */
            @Excel(name = "状态(0已批改 1未批改)" )
    private String status;

    /** 成绩 */
            @JsonProperty("grade")
            @Excel(name = "成绩" )
    private String grade;

    /** 教师点评 */
            @JsonProperty("teacher_answers")
            @Excel(name = "教师点评" )
    private String teacherAnswers;

    /** 题目类型(专项) */
    @Excel(name = "题目类型(专项)" )
    private Long type;
}